<template>
    <div>
        <v-distpicker @province="selectP" @city="selectC" hide-area></v-distpicker><br>
        <v-distpicker province="湖北省" city="黄石市" hide-area disabled="true"></v-distpicker>
    </div>
</template>

<script>
    import VDistpicker from 'v-distpicker'
    export default {
        components: { VDistpicker },
        name: 'HelloWorld',
        data() {
            return {
                selected:0,
                selected2:0,
            };
        },

        methods: {
            selectP(data){
                console.log(data)
            },
            selectC(data){
                console.log(data)
            }
        },
    };
</script>

<style scoped>

</style>
